<h3>用户组管理</h3>
<div class="mainmsg">
    <table border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <thead>
            <tr>
                <th width="25%"> 组名
                </th>
     			<th width="25%"> 描述
                </th>
                <th width="50%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
            <?php 
            foreach ($grouplist as $v):

            ?>
            <tr>
                <td align="left" width="25%">
                    <?php echo $v['Tusergroup']['f_name']; ?>                     
                </td>
                <td align="left" width="25%">
                    <?php echo $v['Tusergroup']['f_desc']; ?>                     
                </td>                
      
                <td align="left" width="50%">
                    <button type="button" onclick="window.location='/tusergroup/delgroup/<?php echo $v['Tusergroup']['id']; ?>';">
                        删除组
                    </button>  
                    <a href="/tusergroup/configacl/<?php echo $v['Tusergroup']['id']; ?>" title="设置权限 : <?php echo $v['Tusergroup']['f_name']; ?>" rel="clearbox(400,,300,,click)">
                        设置权限
                    </a> 
                     <a href="/tusergroup/configmenu/<?php echo $v['Tusergroup']['id']; ?>" title="设置菜单 : <?php echo $v['Tusergroup']['f_name']; ?>" rel="clearbox(400,,300,,click)">
                        设置菜单
                    </a> 
                    <a href="/tusergroup/configusers/<?php echo $v['Tusergroup']['id']; ?>" title="成员管理 : <?php echo $v['Tusergroup']['f_name']; ?>" rel="clearbox(400,,300,,click)">
                 	 成员管理
                    </a>       
                </td>
            </tr>
            <?php 
            endforeach;
            ?>
        </tbody>
    </table> 
</div>
<h3>新建用户组</h3>
<div class="mainmsg">
<form action="/tusergroup/newgroup"  method="POST">
    <table border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <thead>
            <tr>
                <th width="25%"> 组名
                </th>
     			<th width="25%"> 描述
                </th>
                <th width="50%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody> 
            <tr>
                <td align="left" width="25%">
                   <input type="text"  name="fname"/>                   
                </td>
                 <td align="left" width="25%">
                   <input type="text"  name="fdesc"/>                  
                </td>                
      
                <td align="left" width="50%">
                    <button type="submit">
                        确定
                    </button> 
                </td>
            </tr>
 
        </tbody>
    </table> 
    
    </form>
</div>
